package com.ibiz.test.listener;

import org.testng.ITestContext;
import org.testng.TestListenerAdapter;

import com.ibiz.test.util.DocXmlUtil;

public class StartListener extends TestListenerAdapter {

	@Override
	public void onStart(ITestContext testContext) {
		try {
			testContext.getSuite().getParameter("suitea") ;
			testContext.setAttribute("doc", DocXmlUtil.getTestDoc());
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	
}
